package com.cms.work.exception;

public enum ExceptionCodeEnum {

	SYS_USER_NOEXIST(111001, "user", "用户不存在"),
	SYS_USER_ISLOCK(111002, "user", "用户已被锁定"),
	SYS_USER_ISERROR(111003, "user", "账户或密码错误"),
	SYS_USER_OLDPWD(111004, "user", "原始密码不正确"),
	SYS_USER_PADDIFF(111005, "user", "两次输入的密码不一致"),
	SYS_USER_UNKNOWN(111999, "user", "未知错误");
	
	private int errCode;
	private String label;
	private String errMsg;
	
	private ExceptionCodeEnum(int errCode, String label, String errMsg) {
		this.errCode = errCode;
		this.label = label;
		this.errMsg = errMsg;
	}
	public int getErrCode() {
		return errCode;
	}
	public void setErrCode(int errCode) {
		this.errCode = errCode;
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public String getErrMsg() {
		return errMsg;
	}
	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}
	
}
